import request from '../../utils/user-teacher-subject/request.js'

export function getClassByUserNum(userNum) {
  return request({
    url: 'userTeacherSubject/getClassByUserNum',
    method: 'post',
    params: { userNum }
  })
}

export function getStudentsByClassId(classId) {
  return request({
    url: 'userTeacherSubject/getStudentsByClassId',
    method: 'post',
    params: { classId }
  })
}